package com.bytecollege.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName: Collect
 * @Description: 收藏夹
 * @Author: Sun
 * @Date: 2022/10/18 21:03
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("")
public class CourseCollect {
    @TableId(value = "coursecollect_id",type = IdType.AUTO)
    private Integer courseCollectId;

    private Integer courseId;

    private Integer userId;

    private Date addTime;
}